<template>
  <div class="app-container">
    <el-tabs v-model="activeName">
      <el-tab-pane :label="$route.meta.title" name="first">
        <template slot="label" v-if="title">
          {{title}}
        </template>
        <slot></slot>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
export default {
  props:["title"],
  data() {
    return {
      activeName: "first"
    };
  },
  methods: {}
};
</script>
<style lang="scss" scoped>
</style>
